home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / MPI_Probe.z / MPI_Probe
Encoding:
Text File  |  2002-10-03  |  2.8 KB  |  133 lines

  1.  
  2.  
  3.  
  4. MMMMPPPPIIII____PPPPRRRROOOOBBBBEEEE((((3333))))                                                      MMMMPPPPIIII____PPPPRRRROOOOBBBBEEEE((((3333))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      MMMMPPPPIIII____PPPPrrrroooobbbbeeee - Provides a blocking test for a message
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      C:
  13.  
  14.           #include <mpi.h>
  15.  
  16.           int MPI_Probe( _s_o_u_r_c_e, _t_a_g, _c_o_m_m, _s_t_a_t_u_s )
  17.           int         _s_o_u_r_c_e;
  18.           int         _t_a_g;
  19.           MPI_Comm    _c_o_m_m;
  20.           MPI_Status  *_s_t_a_t_u_s;
  21.  
  22.  
  23.      C++:
  24.  
  25.           #include <mpi.h>
  26.  
  27.           void Comm::Probe(
  28.           int               _s_o_u_r_c_e,
  29.           int               _t_a_g) const
  30.  
  31.  
  32.      Fortran:
  33.  
  34.           INCLUDE "mpif.h" (or USE MPI)
  35.  
  36.           INTEGER _s_o_u_r_c_e, _t_a_g, _c_o_m_m, _s_t_a_t_u_s(MPI_STATUS_SIZE), _i_e_r_r_o_r
  37.  
  38.           CALL MPI_PROBE(_s_o_u_r_c_e, _t_a_g, _c_o_m_m, _s_t_a_t_u_s(MPI_STATUS_SIZE), _i_e_r_r_o_r)
  39.  
  40.  
  41. SSSSTTTTAAAANNNNDDDDAAAARRRRDDDDSSSS
  42.      This release implements the MPI 1.2 standard, as documented by the MPI
  43.      Forum in the spring 1997 release of _M_P_I:  _A _M_e_s_s_a_g_e _P_a_s_s_i_n_g _I_n_t_e_r_f_a_c_e
  44.      _S_t_a_n_d_a_r_d.
  45.  
  46. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  47.      The MMMMPPPPIIII____PPPPrrrroooobbbbeeee routine provides a blocking test for a message.  This
  48.      routine accepts the following parameters:
  49.  
  50.      _s_o_u_r_c_e    Specifies a source rank or MMMMPPPPIIII____AAAANNNNYYYY____SSSSOOOOUUUURRRRCCCCEEEE (integer)
  51.  
  52.      _t_a_g       Specifies a tag value or MMMMPPPPIIII____AAAANNNNYYYY____TTTTAAAAGGGG (integer)
  53.  
  54.      _c_o_m_m      Specifies the communicator (handle)
  55.  
  56.      _s_t_a_t_u_s    Returns the status object (status)
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. MMMMPPPPIIII____PPPPRRRROOOOBBBBEEEE((((3333))))                                                      MMMMPPPPIIII____PPPPRRRROOOOBBBBEEEE((((3333))))
  71.  
  72.  
  73.  
  74.      _i_e_r_r_o_r    Specifies the return code value for successful completion,
  75.                which is in MPI_SUCCESS.  MPI_SUCCESS is defined in the mmmmppppiiiiffff....hhhh
  76.                file.
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.